package com.ytc.teaching.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ytc.commons.model.dto.PageRequest;
import com.ytc.commons.model.dto.WorkDto;
import com.ytc.commons.model.vo.ResponseResult;
import com.ytc.commons.model.vo.WorkVo;
import com.ytc.teaching.domain.Work;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jiuye
 * @since 2022-10-10
 */
public interface WorkService extends IService<Work> {
    //分页查询课程计划作业列表
    ResponseResult workList(PageRequest request,WorkDto dto);
    //新增 或者修改试卷
    ResponseResult saveWork(WorkDto dto);
    //删除试卷
    ResponseResult deleteByWorkId(Long workId);
}
